package Modelo;

import java.util.ArrayList;

import javax.swing.table.DefaultTableModel;

public class CursoConcreto {
	private String IDcc;
	//private Integer IDcc;
	private String CM;
	//private CursoMaestro CM;
	private String CodCC;
	private String FFI;
	private String FFF;
	private Integer cantClases;
	private Integer hsxClase;
	private Integer TTHsClase;
	private Integer vacantes;
	private Integer cantMin;
	private String diasDeClase;
	//private ArrayList <String> DiasDeClase;
	private String horario;
	//private ArrayList <String>	Horario;
	private String sala;
	private String instructor;
	private Integer estado;
	//private String estado;
	private DefaultTableModel HH;//tabla Horario
	//constructor
	/*public CursoConcreto(){
		
	}*/
	public CursoConcreto(String c, String i){
		this.IDcc = i;
		this.CM = c;
	}
	/*public CursoConcreto(CursoMaestro ccmm, Integer ID){
		this.IDcc=ID;
		this.CM=ccmm;
		this.CodCC=CM.DameCod()+IDcc;
		this.vacantes=20;
		this.cantMin=10;
		this.estado="Creado";
	}*/
	///Asignar-----
	public void AsignarFFI(String f){
		this.FFI=f;
	}
	public void AsignarFFF(String f){
		this.FFF=f;
	}
	
	public void AsignarCantClases(Integer n){
		this.cantClases=n;
	}
	public void AsignarHsxClase(Integer n){
		this.hsxClase=n;
	}
	public void AsignarTTHsClase(){
		this.TTHsClase=this.cantClases * this.hsxClase;
	}
	public void AsignarVacantes(Integer n){
		this.vacantes=n;
	}
	public void AsignarCantMin(Integer n){
		this.cantMin=n;
	}
	public void AsignarDiasDeClase(String s){
		this.diasDeClase =s;
	}
	public void AsignarHorario(String h){
		this.horario=h;
	}
			
	/*public void AsignarHorario(Integer s1, Integer s2){
		this.horario.add(s1+"-"+s2);
	}*/
	public void AsignarSala(String s){
		this.sala=s;
	}
	public void AsignarInstructor(String s){
		this.instructor=s;
	}
	public void AsignarEstado(Integer s){
		this.estado=s;
	}
	/*public void AsignarEstado(String s){
		this.estado=s;
	}*/
	public void AsignarHH(DefaultTableModel h){//tabla horario
		this.HH=h;
	}
	//dame
	public String DameIDcc(){
		return this.IDcc;
	}
	public String DameCod(){
		return this.CodCC;
	}
	public String DameFFI(){
		return this.FFI;
	}
	public String DameFFF(){
		return this.FFF;
	}
	public Integer DameCantClases(){
		return this.cantClases;
	}
	public Integer DameHsxClase(){
		return this.hsxClase;
	}
	public Integer DameTTHsClase(){
		return this.TTHsClase;
	}
	public Integer DameVacantes(){
		return this.vacantes;
	}
	public Integer DameCantMin(){
		return this.cantMin;
	}
	public String DameDiasDeClase(){
		return this.diasDeClase;
	}
	public String DameHorario(){
		return this.horario;
	}
	public String DameSala(){
		return this.sala;
	}
	public String DameInstructor(){
		return this.instructor;
	}
	public Integer DameEstado(){
		return this.estado;
	}
	/*public String DameEstado(){
		return this.estado;
	}*/
	public String DameCodCM() {
		return this.CM;
	}
	public DefaultTableModel DameHH(){
		return this.HH;//tabla horario
	}

}
